import request from '@/utils/request'

// 箭头函数的写法
export const req_login = ({ username, password }) => {
  return request.post('/auth/login', {
    username,
    password
  })
}